package com.qmctl.rest.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.qmctl.rest.bean.selldeliveryorder.OrderLineClazz;

import java.io.Serializable;
@SuppressWarnings("serial")
@Entity
@Table(name="tSellDeliveryOrderLines",schema="")
public class SellDeliveryOrderLines implements Serializable{
  @Id
  private String orderLineId;
  private String deliveryOrderId;
  private String orderLineNo;
  private String sourceOrderCode;
  private String subSourceOrderCode;
  private String payNo;
  private String ownerCode;
  private String itemCode;
  private String itemId;
  private String inventoryType;
  private String itemName;
  private String extCode;
  private long planQty;
  private double retailPrice;
  private double actualPrice;
  private double discountAmount;
  private String batchCode;
  private String productDate;
  private String expireDate;
  private long actualQty;
  private String produceCode;
  public SellDeliveryOrderLines(){
	  
  }
  public SellDeliveryOrderLines(OrderLineClazz BeanClazz){
    deliveryOrderId = "";
    orderLineId = "";
    orderLineNo = BeanClazz.getOrderLineNo();
    sourceOrderCode = BeanClazz.getSourceOrderCode();
    subSourceOrderCode = BeanClazz.getSubSourceOrderCode();
    payNo = BeanClazz.getPayNo();
    ownerCode = BeanClazz.getOwnerCode();
    itemCode = BeanClazz.getItemCode();
    itemId = BeanClazz.getItemId();
    inventoryType = BeanClazz.getInventoryType();
    itemName = BeanClazz.getItemName();
    extCode = BeanClazz.getExtCode();
    planQty = BeanClazz.getPlanQty();
    retailPrice = BeanClazz.getRetailPrice();
    actualPrice = BeanClazz.getActualPrice();
    discountAmount = BeanClazz.getDiscountAmount();
    batchCode = BeanClazz.getBatchCode();
    productDate = BeanClazz.getProductDate();
    expireDate = BeanClazz.getExpireDate();
  }

  public String getDeliveryOrderId(){
    return deliveryOrderId;
  }
  public void setDeliveryOrderId(String sDeliveryOrderId){
    deliveryOrderId = sDeliveryOrderId;
  }
  public String getOrderLineId(){
    return orderLineId;
  }
  public void setOrderLineId(String sOrderLineId){
    orderLineId = sOrderLineId;
  }
  public String getOrderLineNo(){
    return orderLineNo;
  }
  public void setOrderLineNo(String sOrderLineNo){
    orderLineNo = sOrderLineNo;
  }
  public String getSourceOrderCode(){
    return sourceOrderCode;
  }
  public void setSourceOrderCode(String sSourceOrderCode){
    sourceOrderCode = sSourceOrderCode;
  }
  public String getSubSourceOrderCode(){
    return subSourceOrderCode;
  }
  public void setSubSourceOrderCode(String sSubSourceOrderCode){
    subSourceOrderCode = sSubSourceOrderCode;
  }
  public String getPayNo(){
    return payNo;
  }
  public void setPayNo(String sPayNo){
    payNo = sPayNo;
  }
  public String getOwnerCode(){
    return ownerCode;
  }
  public void setOwnerCode(String sOwnerCode){
    ownerCode = sOwnerCode;
  }
  public String getItemCode(){
    return itemCode;
  }
  public void setItemCode(String sItemCode){
    itemCode = sItemCode;
  }
  public String getItemId(){
    return itemId;
  }
  public void setItemId(String sItemId){
    itemId = sItemId;
  }
  public String getInventoryType(){
    return inventoryType;
  }
  public void setInventoryType(String sInventoryType){
    inventoryType = sInventoryType;
  }
  public String getItemName(){
    return itemName;
  }
  public void setItemName(String sItemName){
    itemName = sItemName;
  }
  public String getExtCode(){
    return extCode;
  }
  public void setExtCode(String sExtCode){
    extCode = sExtCode;
  }
  public long getPlanQty(){
    return planQty;
  }
  public void setPlanQty(long iPlanQty){
    planQty= iPlanQty;
  }
  public double getRetailPrice(){
    return retailPrice;
}
  public void setRetailPrice(double dRetailPrice){
    retailPrice = dRetailPrice;
  }
  public double getActualPrice(){
    return actualPrice;
}
  public void setActualPrice(double dActualPrice){
    actualPrice = dActualPrice;
  }
  public double getDiscountAmount(){
    return discountAmount;
}
  public void setDiscountAmount(double dDiscountAmount){
    discountAmount = dDiscountAmount;
  }
  public String getBatchCode(){
    return batchCode;
  }
  public void setBatchCode(String sBatchCode){
    batchCode = sBatchCode;
  }
  public String getProductDate(){
    return productDate;
  }
  public void setProductDate(String sProductDate){
    productDate = sProductDate;
  }
  public String getExpireDate(){
    return expireDate;
  }
  public void setExpireDate(String sExpireDate){
    expireDate = sExpireDate;
  }
public long getActualQty() {
	return actualQty;
}
public void setActualQty(long actualQty) {
	this.actualQty = actualQty;
}
public String getProduceCode() {
	return produceCode;
}
public void setProduceCode(String produceCode) {
	this.produceCode = produceCode;
}
}
